// import "./App.css";
// import Taro from "./package";

// function App() {
//   const routerObj = Taro.useRouter(true);

//   console.log(Taro, routerObj);

//   const handleOnClick = () => {
//     Taro.navigateTo({ url: "/pages/index/index?_=/abc" });
//     // Taro.navigateTo({ url: "/route/index?_=/abc" });
//   };
//   const navtoRouteIndex = () => {
//     Taro.navigateTo({ url: "/route/index?_=/abc" });
//   };

//   return (
//     <div className="App">
//       <h1>App</h1>
//       <button onClick={handleOnClick}>Go to index</button>
//       <button onClick={navtoRouteIndex}>Go to route index</button>
//     </div>
//   );
// }

// export default App;

interface IProps {
  children?: any;
}
export default ({ children }: IProps) => {
  console.log("AppMain");
  return children;
};
